places
DBColInfoRecord structure
#include
typedef struct DBColInfoRecord { Size Offset Description
short len; 2 0 length of data item
short places; 2 2 places for decimal and money data
items
short flags; 2 4 flags for data item
The len field indicates the length of the data item. The DBGetQueryResults
function returns a value in this field only for those data types that do not have
implied lengths; see the Table above.
The places field indicates the number of decimal places in data items of types
typeMoney and typeDecimal. For all other data types, the places field returns
0.
The least significant bit of the flags field is set to 1 if the data item is in the
last column of the row. The third bit of the flags field is 1 if the data item is
NULL. You can use the constants kDBLastColFlag and kDBNullFlag to test for
these flag bits.